package com.beizhen.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beizhen.demo.entity.EntityPage;
import com.beizhen.demo.entity.StuTripPlan;
import com.beizhen.demo.entity.ZhuVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 出行计划表 Dao接口
*/
@Repository
public interface StuTripPlanDao extends BaseMapper<StuTripPlan> {

    public List<String> getClassId(@Param("schoolUId") Integer school_u_id);

    public Integer getPeople(@Param("schoolUId") String schoolUId);

    public Integer getTeacher(@Param("schoolUId") String schoolUId);

    public Integer getBid(@Param("schoolUId") String schoolUId);
    public Integer getPlan(@Param("schoolUId") String schoolUId);
    public List<ZhuVo> Basegraphics(@Param("schoolUId") String schoolUId);
    public List<ZhuVo> getCylinder(@Param("schoolUId") String schoolUId);
    public List<EntityPage> getPlanInfos(@Param("schoolUId") int schoolUId);
    public Integer getcounts(@Param("schoolUId") int schoolUId);
	
	
    //查询正在出行的学校出行
    List<StuTripPlan> sel_StuTripPlan_Byid(@Param("b_id") Integer b_id);

    //查询出行详细
    List<StuTripPlan> sel_StuTripPlan(@Param("b_id") Integer b_id);

}
